ACFWF\Models\BOGO\Frontend B

Total Complexity 76
Dependencies 5
Dependents 1
Total lines 613
Lines of code 267
Logical lines of code 165
Comment lines 243
Methods 14
Properties 6

Methods 14

Method Rating Maintainability Complexity Lines of code
_add_notice_for_eligible_deals()
A
50 13 24
_run_implementation()
A
48 12 35
display_bogo_discount_summary()
A
47 11 32
_set_matching_cart_item_deals_prices()
A
44 7 45
implement_bogo_deals()
S
56 6 19
display_discounted_price()
S
55 5 17
save_bogo_discounts_to_order()
S
52 3 27
restrict_cart_to_only_one_bogo_deal()
S
63 4 10
_display_eligible_deal_notices()
S
60 3 15
_remove_eligible_for_deals_notices()
S
59 3 15
_is_display_notice()
S
69 4 6
get_instance()
S
70 2 6
run()
S
62 2 10
__construct()
S
70 1 6